package com.inmobi.androidsdk.impl.metric;

import java.io.IOException;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;

public class MetricEndPoint
{
  public static void sendData(String paramString1, String paramString2)
    throws IOException
  {
    HttpURLConnection localHttpURLConnection = (HttpURLConnection)new URL(paramString1).openConnection();
    localHttpURLConnection.setDoOutput(true);
    localHttpURLConnection.setDoInput(false);
    OutputStreamWriter localOutputStreamWriter = new OutputStreamWriter(localHttpURLConnection.getOutputStream());
    localOutputStreamWriter.write(paramString2);
    localOutputStreamWriter.flush();
    localOutputStreamWriter.close();
    localHttpURLConnection.getResponseCode();
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.inmobi.androidsdk.impl.metric.MetricEndPoint
 * JD-Core Version:    0.6.2
 */